<?php
    class Controller
    {
        private $app;
        
        public function __construct($app)
        {
            $this->app = $app;
        }
        
        public function renderView($view, $datas =array())
        {
            return $this->app->renderer->render($view, $datas);
        }
        
        public function addCss($css)
        {
           $this->app->renderer->addCss($css);
        }

        public function addJs($js)
        {
           $this->app->renderer->addJs($js);
        } 
    }
?>